﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<div id ="mainPage">
	<?php echo $this->action('menu','index','default')?>
	<?php echo $this->action('account','user','LuyenUser');?>
	<link rel="stylesheet" type="text/css" href="/public/css/user/form.css" />
	<div class="rightCenter">
		<div class="img">			
				&nbsp;&nbsp;Tin nhắn.
		</div>
		<p>Tin nhắn của khách hàng</p>
		<table id= "tableOrder" width="100%" border="1" style="border-collapse: collapse;border-color:#749bce;">
			<tr>
				<th>Người gửi</th>
				<th>Tiêu đề</th>
				<th>Thời gian</th>
			</tr>
			<? $messages = $this->messages;
			foreach ($messages as $x){ ?>
				<tr>
					<td>Admin<?if(!$x->m_dadoc){?><img src="/public/img/user/new.gif" /><?}?></td>
					<td><a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/order/messagesdetail?m_id=<?=$x->m_id?>"><?=$x->m_tieude?></a></td>
					<td><?=$x->time?></td>
				</tr>
			
			<?}?>
		</table>
	</div>	
	<div id="footer">
		<br/>
		<br/>
		<hr/> 
		<p>Copyright &copy; 2010 Zend Framework 1.8. All rights reserved.<br>Powered by Group 17,Software Engineering K51 </p>	
		<br>
	</div>	
</div>		